package com.xuz.spring02;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @user 65453
 * @date 2024/10/22 21:14
 */
@Component
public class RequestListener implements ApplicationListener<RequestEvent> {
    @Override
    public void onApplicationEvent(RequestEvent event) {
        System.out.println("监听到RequestEvent事件，执行方法....");
    }
}
